package com.our.sys.project1.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.springside.modules.orm.grid.ViewField;

@Entity
@Table(name = "C_StockOutList")
public class StockOutList implements Serializable {

    private static final long serialVersionUID = -6004411450107790326L;

    @ViewField
    private Long id;
    @ViewField
    private Long stockId;
    @ViewField(header = "仓库", width = 150, align = "left")
    private String stockName;
    @ViewField(header = "出库单号", width = 150, align = "left")
    private String number;
    @ViewField(header = "核算年月", width = 150, align = "left")
    private String accountTime;
    @ViewField
    private Long actionTypeId;
    @ViewField(header = "出库类型", width = 150, align = "left")
    private String actionName;
    @ViewField(header = "出库时间", width = 150, align = "left")
    private String inTime;
    @ViewField
    private Long accountId;
    @ViewField(header = "结算方式", width = 150, align = "left")
    private String accountName;
    @ViewField(header = "发票号", width = 150, align = "left")
    private String invoice;
    @ViewField(header = "发票日期", width = 150, align = "left")
    private String invoiceTime;
    @ViewField
    private String supplierId;
    @ViewField(header = "供应商", width = 150, align = "left")
    private String supplierName;
    @ViewField
    private Long purchaseId;
    @ViewField(header = "采购人", width = 150, align = "left")
    private String purchaseName;
    @ViewField
    private String checkId;
    @ViewField(header = "验收人", width = 150, align = "left")
    private String checkName;
    @ViewField
    private BigDecimal money;
    @ViewField(header = "备注", width = 250, align = "left")
    private String note;

    @Id
    @GeneratedValue(strategy = GenerationType.TABLE, generator = "Id_Generator")
    @TableGenerator(name = "Id_Generator", table = "ID_GENERATOR", pkColumnName = "GEN_NAME", valueColumnName = "GEN_VAL", pkColumnValue = "C_StockOutList")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStockId() {
        return stockId;
    }

    public void setStockId(Long stockId) {
        this.stockId = stockId;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getAccountTime() {
        return accountTime;
    }

    public void setAccountTime(String accountTime) {
        this.accountTime = accountTime;
    }

    public Long getActionTypeId() {
        return actionTypeId;
    }

    public void setActionTypeId(Long actionTypeId) {
        this.actionTypeId = actionTypeId;
    }

    public String getActionName() {
        return actionName;
    }

    public void setActionName(String actionName) {
        this.actionName = actionName;
    }

    public String getInTime() {
        return inTime;
    }

    public void setInTime(String inTime) {
        this.inTime = inTime;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public String getInvoiceTime() {
        return invoiceTime;
    }

    public void setInvoiceTime(String invoiceTime) {
        this.invoiceTime = invoiceTime;
    }

    public String getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(String supplierId) {
        this.supplierId = supplierId;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Long getPurchaseId() {
        return purchaseId;
    }

    public void setPurchaseId(Long purchaseId) {
        this.purchaseId = purchaseId;
    }

    public String getPurchaseName() {
        return purchaseName;
    }

    public void setPurchaseName(String purchaseName) {
        this.purchaseName = purchaseName;
    }

    public String getCheckId() {
        return checkId;
    }

    public void setCheckId(String checkId) {
        this.checkId = checkId;
    }

    public String getCheckName() {
        return checkName;
    }

    public void setCheckName(String checkName) {
        this.checkName = checkName;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

}
